#ifndef TRACKSEDITOR_H
#define TRACKSEDITOR_H

#include <QDialog>

#include "trajectorywidget.h"
#include "trajectorycapture.h"
#include <trajectory.h>

namespace Ui {
    class TracksEditor;
}

class TracksEditor : public QDialog
{
    Q_OBJECT

public:
	explicit TracksEditor(vector<mlgesture::Trajectory> *trajectories_, QWidget *parent = 0);
	~TracksEditor();

private slots:
	void addCategory();
	void updateTypes();
	void updateStatistics();
	void changeFilter();

private:
	Ui::TracksEditor *ui_;
	vector<mlgesture::Trajectory> *trajectories_;
	vector<string> types_;
	vector<TrajectoryWidget*> widgets_;
};

#endif // TRACKSEDITOR_H
